<?php

namespace app;

class databaseField
{
    /**
     * 人才库列表字段
     */

    /**
     * alias_field_id 字段
     * attribute 1系统字段 2自定义字段
     * name 字段名称
     * type input属性
     * require 1必填 默认0
     * option 1数据库值  0 本地值
     * option_data  需要查询的库及变量
     * where  查询条件
     */

    public static $rck = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'is_zd','attribute'=>1,'name'=>'重点客户','type'=>'select','option'=>0,'option_data'=>'_customers'],
        ['alias_field_id'=>'zd_date','attribute'=>1,'name'=>'设置时间','type'=>'date'],

        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select'],
        ['alias_field_id'=>'certificate_period_of_validity','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'certificate_b_period_of_validity','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
        ['alias_field_id'=>'certificate_log_off','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'other_certificate','attribute'=>1,'name'=>'其他证书','type'=>'no'],
        ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
        ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'next_communicate_date','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'is_wx','attribute'=>1,'name'=>'是否添加企业微信','type'=>'select','option'=>0,'option_data'=>'_is_wx'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'become_due','attribute'=>1,'name'=>'他人合作到期时间','type'=>'date'],
        ['alias_field_id'=>'username','attribute'=>1,'name'=>'负责人','type'=>'text'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'订单状态','type'=>'select','option'=>0,'option_data'=>'_person_status'],

//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],
//
//        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//
//        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
//
        ['alias_field_id'=>'is_f','attribute'=>1,'name'=>'是否分配','type'=>'select','option'=>0,'option_data'=>'_is_f'],
        ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
    ];

    /**
     * 人才证书注冊字段
     */

//    public static $zszc = [
//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'证书编号','type'=>'text'],
//        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'select'],
//
//        ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
//
//        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
//        ['alias_field_id'=>'social_security_acc_status','attribute'=>1,'name'=>'社保账户状态','type'=>'select'],
//        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select'],
//        ['alias_field_id'=>'b_doc_status','attribute'=>1,'name'=>'B证是否调入','type'=>'select'],
//        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select'],
//        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select'],
//        ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select'],
//        ['alias_field_id'=>'acquisition_date','attribute'=>1,'name'=>'收证时间','type'=>'date'],
//        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'合同价格','type'=>'select'],
//        ['alias_field_id'=>'catual_price','attribute'=>1,'name'=>'实际价格','type'=>'number'],
//        ['alias_field_id'=>'person_account','attribute'=>1,'name'=>'人才账号','type'=>'number'],
//        ['alias_field_id'=>'person_password','attribute'=>1,'name'=>'人才密码','type'=>'text'],
//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'手机号码','type'=>'number'],
//        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
//        ['alias_field_id'=>'file_illustrate','attribute'=>1,'name'=>'资料信息','type'=>'text'],
//        ['alias_field_id'=>'information_file','attribute'=>1,'name'=>'资料文件','type'=>'file'],
//        ['alias_field_id'=>'contract_file','attribute'=>1,'name'=>'合同文件','type'=>'file'],
//        ['alias_field_id'=>'organization_title','attribute'=>1,'name'=>'收证部门','type'=>'text'],
//        ['alias_field_id'=>'username','attribute'=>1,'name'=>'收证人员','type'=>'text'],
//        ['alias_field_id'=>'reject_text','attribute'=>1,'name'=>'驳回原因','type'=>'text'],
//        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'text'],
//        ['alias_field_id'=>'responsibility_id','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
//    ];
//
//    /**
//     * 证书办理
//     */
//    public static $zsbl = [
//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
//        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'text'],
//        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'text'],
//        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'date'],
//
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'证书类型','type'=>'text'],
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'证书类型','type'=>'text'],
//        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//
//    ];
//
//    /**
//     * 企业证书
//     */
//
//    public static $qyzs = [
//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
//        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'text'],
//        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'text'],
//        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'date'],
//
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'证书类型','type'=>'text'],
//        ['alias_field_id'=>'certificate_id','attribute'=>1,'name'=>'证书类型','type'=>'text'],
//        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//
//    ];



    /**
     * 企业库列表
     */
    /**
     * alias_field_id 字段
     * attribute 1系统字段 2自定义字段
     * name 字段名称
     * type input属性
     * require 1必填 默认0
     * option 1数据库值  0 本地值
     * option_data  需要查询的库及变量
     * where  查询条件
     */
    //企业库注册企业
    public static $qykzcqy = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'name','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],

//        ['alias_field_id'=>'mobiles','attribute'=>1,'name'=>'联系电话','type'=>'text'],
        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],

        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'no'],
//        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'主营业务','type'=>'text'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
        ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'communicate_next','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'f_uid','attribute'=>1,'name'=>'负责人','type'=>'text'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'合作状态','type'=>'select','option'=>0,'option_data'=>'_enter_status'],


//        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
//        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'is_f','attribute'=>1,'name'=>'是否分配','type'=>'select','option'=>0,'option_data'=>'_is_f'],
    ];
    //企业库合作伙伴
    public static $qykhzhb = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'name','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'主营业务','type'=>'no'],
        ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'communicate_next','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
        ['alias_field_id'=>'f_uid','attribute'=>1,'name'=>'负责人','type'=>'text'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'合作状态','type'=>'select','option'=>0,'option_data'=>'_enter_status'],

//        ['alias_field_id'=>'enterprise_type','attribute'=>1,'name'=>'企业类型','type'=>'select','option'=>0,'option_data'=>'_enter_prise_type'],
//        ['alias_field_id'=>'mobiles','attribute'=>1,'name'=>'联系电话','type'=>'text'],
//        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'text'],
//        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
//        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
//        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'is_f','attribute'=>1,'name'=>'是否分配','type'=>'select','option'=>0,'option_data'=>'_is_f'],
    ];

    /**
     *
     * 回收站
     *
     */

    public static $hhzrck = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'is_zd','attribute'=>1,'name'=>'重点客户','type'=>'select','option'=>0,'option_data'=>'_customers'],
        ['alias_field_id'=>'zd_date','attribute'=>1,'name'=>'设置时间','type'=>'date'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],
//        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'certificate_period_of_validity','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'certificate_b_period_of_validity','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'other_certificate','attribute'=>1,'name'=>'其他证书','type'=>'no'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//        ['alias_field_id'=>'next_communicate_date','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'certificate_log_off','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'is_wx','attribute'=>1,'name'=>'是否添加企业微信','type'=>'select','option'=>0,'option_data'=>'_is_wx'],
        ['alias_field_id'=>'become_due','attribute'=>1,'name'=>'他人合作到期时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数【个人/所有】','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'订单状态','type'=>'select','option'=>0,'option_data'=>'_person_status'],

    ];

    //回收站注册企业
    public static $hhzzcqy = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'name','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'mobiles','attribute'=>1,'name'=>'联系电话','type'=>'text'],
        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],

        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'no'],
//        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'text'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//        ['alias_field_id'=>'communicate_next','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
        ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数【个人/所有】','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'合作状态','type'=>'select','option'=>0,'option_data'=>'_enter_status'],
    ];

    //回收站合作伙伴
    public static $hhzhzqy = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'enterprise_type','attribute'=>1,'name'=>'企业类型','type'=>'select','option'=>0,'option_data'=>'_enter_prise_type'],
        ['alias_field_id'=>'name','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'mobiles','attribute'=>1,'name'=>'联系电话','type'=>'text'],
        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],

        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'主营业务','type'=>'no'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
        ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'最新沟通时间','type'=>'date'],
        ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通记录','type'=>'text'],
//        ['alias_field_id'=>'communicate_next','attribute'=>1,'name'=>'下次沟通时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
        ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数【个人/所有】','type'=>'sort'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'合作状态','type'=>'select','option'=>0,'option_data'=>'_enter_status'],
    ];


    /**
     * 订单管理
     */

    //证书审核列表
    public static $ddzssh = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'certificate_characteristic','attribute'=>1,'name'=>'证书特性','type'=>'select','option'=>0,'option_data'=>'_certificate_characteristic'], //1特价 2优选
        ['alias_field_id'=>'acquisition_date','attribute'=>1,'name'=>'收证时间','type'=>'date'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'catual_price','attribute'=>1,'name'=>'实际收证价','type'=>'between'],
        ['alias_field_id'=>'person_account','attribute'=>1,'name'=>'人才账号','type'=>'text'],
        ['alias_field_id'=>'person_password','attribute'=>1,'name'=>'密码','type'=>'no'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注信息','type'=>'text'],
        ['alias_field_id'=>'zj_account','attribute'=>1,'name'=>'住建账户','type'=>'text'],
        ['alias_field_id'=>'zj_password','attribute'=>1,'name'=>'住建密码','type'=>'no'],
        ['alias_field_id'=>'reject_text','attribute'=>1,'name'=>'驳回原因','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
//
//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'证书编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
//
//
//
//        ['alias_field_id'=>'social_security_acc_status','attribute'=>1,'name'=>'社保账户','type'=>'select','option'=>0,'option_data'=>'_social_security_acc_status'],
//        ['alias_field_id'=>'b_doc_status','attribute'=>1,'name'=>'B证是否调入','type'=>'select','option'=>0,'option_data'=>'_b_doc_status'],
//        ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select','option'=>0,'option_data'=>'_transfer'],
//
//        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'合同价','type'=>'between'],
//
//        ['alias_field_id'=>'person_price','attribute'=>1,'name'=>'人才应付价','type'=>'between'],
//
//        ['alias_field_id'=>'zj_account','attribute'=>1,'name'=>'住建账户','type'=>'text'],
//        ['alias_field_id'=>'zj_password','attribute'=>1,'name'=>'住建密码','type'=>'no'],
//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'手机号','type'=>'text'],
//        ['alias_field_id'=>'information_file_name','attribute'=>1,'name'=>'资料文件','type'=>'no'],
//        ['alias_field_id'=>'contract_file_name','attribute'=>1,'name'=>'合同附件','type'=>'no'],


        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_sh_status'],
        ['alias_field_id'=>'certificate_characteristic_status','attribute'=>1,'name'=>'特价状态','type'=>'select','option'=>0,'option_data'=>'_certificate_status'],
    ];

    //证书注册列表需求
    public static $ddzszc = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'price_unit','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'people_num','attribute'=>1,'name'=>'人数','type'=>'no'],
        ['alias_field_id'=>'sale_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'sale_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'gz_status','attribute'=>1,'name'=>'状态','type'=>'select','option'=>0,'option_data'=>'_gs_status'],
        ['alias_field_id'=>'order_label','attribute'=>1,'name'=>'备注信息','type'=>'no'],


//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'person_certificate_code','attribute'=>1,'name'=>'证书编号','type'=>'text'],
//        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'no'],
//        ['alias_field_id'=>'order_fangshi','attribute'=>1,'name'=>'出单方式','type'=>'text'],
//        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'text'],


    ];

    /**
     *
     *
     */
    //证书注册成交列表
    public static $ddzszccj = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'no'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'select','option'=>0,'option_data'=>'_deal_status'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'sale_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'sale_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'收证价','type'=>'between'],
        ['alias_field_id'=>'price_unit','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'b_reg_electronic_certificate_date','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
//        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'是否中转','type'=>'text'],
        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
        ['alias_field_id'=>'electronic_certificate_date','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'b_electronic_certificate_date','attribute'=>1,'name'=>'B证到期时间','type'=>'file'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate_reg'],
    ];

    //证书注册倒证
    public static $ddzszcdz = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'no'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'select','option'=>0,'option_data'=>'_deal_status'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人员','type'=>'text'],
        ['alias_field_id'=>'get_price','attribute'=>1,'name'=>'收证价','type'=>'between'],
        ['alias_field_id'=>'out_price','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'b_reg_electronic_certificate_date','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select','option'=>0,'option_data'=>'_transfer'],
        ['alias_field_id'=>'unit_reg_title','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
        ['alias_field_id'=>'out_unit','attribute'=>1,'name'=>'供证单位','type'=>'text'],

        ['alias_field_id'=>'electronic_certificate_date','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'b_electronic_certificate_date','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate_reg'],
        ['alias_field_id'=>'info_generate_status','attribute'=>1,'name'=>'信息生成','type'=>'select','option'=>0,'option_data'=>'_certificate_dz_info_status'],

//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
////        ['alias_field_id'=>'person_certificate_code','attribute'=>1,'name'=>'出单方式','type'=>'text'],
//        ['alias_field_id'=>'employ_unit_name','attribute'=>1,'name'=>'聘用单位联系人','type'=>'text'],
//        ['alias_field_id'=>'employ_unit_mobile','attribute'=>1,'name'=>'聘用单位联系方式','type'=>'text'],
//        ['alias_field_id'=>'out_name','attribute'=>1,'name'=>'供证单位联系人','type'=>'text'],
//        ['alias_field_id'=>'out_mobile','attribute'=>1,'name'=>'供证单位联系方式','type'=>'text'],
//        ['alias_field_id'=>'id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'reg_file_name','attribute'=>1,'name'=>'上传注册表','type'=>'file'],
//        ['alias_field_id'=>'other_file_name','attribute'=>1,'name'=>'其他资料信息','type'=>'file'],
//        ['alias_field_id'=>'info_file_name','attribute'=>1,'name'=>'上传注册信息','type'=>'file'],
//
//        ['alias_field_id'=>'reason','attribute'=>1,'name'=>'退单原因','type'=>'no'],
//        ['alias_field_id'=>'electronic_certificate_file_illustrate_name','attribute'=>1,'name'=>'电子证书','type'=>'no'],
//        ['alias_field_id'=>'b_electronic_certificate_file_name','attribute'=>1,'name'=>'B证电子证书','type'=>'no'],

//        ['alias_field_id'=>'responsibility_id','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
    ];

    //证书办理
    public static $ddzsbl = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器
        ['alias_field_id'=>'type','attribute'=>1,'name'=>'','type'=>''],//特殊单
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>''],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
        ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate'],
    ];

    //企业证书
    public static $ddqyzs = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>''],
        ['alias_field_id'=>'business_category','attribute'=>1,'name'=>'业务类别','type'=>'select','option'=>1,'option_data'=>'system_businesss','where'=>''],
        ['alias_field_id'=>'business_text','attribute'=>1,'name'=>'业务内容','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人员','type'=>'text'],
        ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
        ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate'],

//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],
//        ['alias_field_id'=>'information_file_name','attribute'=>1,'name'=>'资料信息','type'=>'file'],
//        ['alias_field_id'=>'contract_file_name','contract_file'=>1,'name'=>'合同附件','type'=>'file'],
//        ['alias_field_id'=>'reason','attribute'=>1,'name'=>'退单原因','type'=>'no'],
//        ['alias_field_id'=>'reject_text','attribute'=>1,'name'=>'驳回原因','type'=>'no'],
//        ['alias_field_id'=>'responsibility_id','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
    ];


    //订单个人

    //证书审核列表
    public static $grddzssh = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'certificate_characteristic','attribute'=>1,'name'=>'证书特性','type'=>'select','option'=>0,'option_data'=>'_certificate_characteristic'], //1特价 2优选
        ['alias_field_id'=>'acquisition_date','attribute'=>1,'name'=>'收证时间','type'=>'date'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'catual_price','attribute'=>1,'name'=>'实际收证价','type'=>'between'],
        ['alias_field_id'=>'person_account','attribute'=>1,'name'=>'人才账号','type'=>'text'],
        ['alias_field_id'=>'person_password','attribute'=>1,'name'=>'密码','type'=>'no'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注信息','type'=>'text'],
        ['alias_field_id'=>'zj_account','attribute'=>1,'name'=>'住建账户','type'=>'text'],
        ['alias_field_id'=>'zj_password','attribute'=>1,'name'=>'住建密码','type'=>'no'],
        ['alias_field_id'=>'reject_text','attribute'=>1,'name'=>'驳回原因','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
//
//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'证书编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
//
//
//
//        ['alias_field_id'=>'social_security_acc_status','attribute'=>1,'name'=>'社保账户','type'=>'select','option'=>0,'option_data'=>'_social_security_acc_status'],
//        ['alias_field_id'=>'b_doc_status','attribute'=>1,'name'=>'B证是否调入','type'=>'select','option'=>0,'option_data'=>'_b_doc_status'],
//        ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select','option'=>0,'option_data'=>'_transfer'],
//
//        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'合同价','type'=>'between'],
//
//        ['alias_field_id'=>'person_price','attribute'=>1,'name'=>'人才应付价','type'=>'between'],
//
//        ['alias_field_id'=>'zj_account','attribute'=>1,'name'=>'住建账户','type'=>'text'],
//        ['alias_field_id'=>'zj_password','attribute'=>1,'name'=>'住建密码','type'=>'no'],
//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'手机号','type'=>'text'],
//        ['alias_field_id'=>'information_file_name','attribute'=>1,'name'=>'资料文件','type'=>'no'],
//        ['alias_field_id'=>'contract_file_name','attribute'=>1,'name'=>'合同附件','type'=>'no'],


        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_sh_status'],
        ['alias_field_id'=>'certificate_characteristic_status','attribute'=>1,'name'=>'特价状态','type'=>'select','option'=>0,'option_data'=>'_certificate_status']
    ];

    //证书注册列表
    public static $grddzszc = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'price_unit','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'people_num','attribute'=>1,'name'=>'人数','type'=>'no'],
        ['alias_field_id'=>'sale_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'sale_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'gz_status','attribute'=>1,'name'=>'状态','type'=>'select','option'=>0,'option_data'=>'_gs_status'],
        ['alias_field_id'=>'order_label','attribute'=>1,'name'=>'备注信息','type'=>'no'],
    ];

    //证书注册成交列表
    public static $grddzszccj = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'no'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'select','option'=>0,'option_data'=>'_deal_status'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'sale_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'sale_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'收证价','type'=>'between'],
        ['alias_field_id'=>'price_unit','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'b_reg_electronic_certificate_date','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
//        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'是否中转','type'=>'text'],
        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
        ['alias_field_id'=>'electronic_certificate_date','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'b_electronic_certificate_date','attribute'=>1,'name'=>'B证到期时间','type'=>'file'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate_reg'],


//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
////        ['alias_field_id'=>'person_certificate_code','attribute'=>1,'name'=>'证书编号','type'=>'text'],
////        ['alias_field_id'=>'order_fangshi','attribute'=>1,'name'=>'出单方式','type'=>'text'],
//
//        ['alias_field_id'=>'people_num','attribute'=>1,'name'=>'人数','type'=>'no'],
//
//        ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'reg_from_file_name','attribute'=>1,'name'=>'上传注册表','type'=>'file'],
//
//        ['alias_field_id'=>'employ_unit_name','attribute'=>1,'name'=>'聘用单位联系人','type'=>'text'],
//        ['alias_field_id'=>'employ_unit_mobile','attribute'=>1,'name'=>'聘用单位联系方式','type'=>'text'],
//
//
//        ['alias_field_id'=>'electronic_certificate_file_illustrate_name','attribute'=>1,'name'=>'电子证书','type'=>'file'],
//
//        ['alias_field_id'=>'b_electronic_certificate_date','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
//        ['alias_field_id'=>'reason','attribute'=>1,'name'=>'退单原因','type'=>'no'],
//        ['alias_field_id'=>'op','attribute'=>1,'name'=>'状态操作','type'=>'text'],
    ];

    //证书注册倒证
    public static $grddzszcdz = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'no'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'select','option'=>0,'option_data'=>'_deal_status'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人员','type'=>'text'],
        ['alias_field_id'=>'get_price','attribute'=>1,'name'=>'收证价','type'=>'between'],
        ['alias_field_id'=>'out_price','attribute'=>1,'name'=>'出证价','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'b_reg_electronic_certificate_date','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
        ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
        ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
        ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select','option'=>0,'option_data'=>'_transfer'],
        ['alias_field_id'=>'unit_reg_title','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'employ_unit_title','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
        ['alias_field_id'=>'out_unit','attribute'=>1,'name'=>'供证单位','type'=>'text'],
        ['alias_field_id'=>'electronic_certificate_date','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
        ['alias_field_id'=>'b_electronic_certificate_date','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate_reg'],
        ['alias_field_id'=>'info_generate_status','attribute'=>1,'name'=>'信息生成','type'=>'select','option'=>0,'option_data'=>'_certificate_dz_info_status'],
    ];

    //证书办理
    public static $grddzsbl = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器
        ['alias_field_id'=>'type','attribute'=>1,'name'=>'','type'=>''],//特殊单
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>''],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'销售部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'销售人员','type'=>'text'],
        ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
        ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],
        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate'],


//        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
//        ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'information_file_name','attribute'=>1,'name'=>'资料信息','type'=>'file'],
//        ['alias_field_id'=>'contract_file_name','attribute'=>1,'name'=>'合同附件','type'=>'file'],
//        ['alias_field_id'=>'reason','attribute'=>1,'name'=>'退单原因','type'=>'no'],
//        ['alias_field_id'=>'responsibility_id','attribute'=>1,'name'=>'状态操作','type'=>'text'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
    ];

    //企业证书
    public static $grddqyzs = [
        ['alias_field_id'=>'dingshiqi','attribute'=>1,'name'=>'','type'=>''],//定时器

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'int'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>''],
        ['alias_field_id'=>'business_category','attribute'=>1,'name'=>'业务类别','type'=>'select','option'=>1,'option_data'=>'system_businesss','where'=>''],
        ['alias_field_id'=>'business_text','attribute'=>1,'name'=>'业务内容','type'=>'text'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人员','type'=>'text'],
        ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
        ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],

        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态说明','type'=>'select','option'=>0,'option_data'=>'_enter_certificate'],
    ];

    /***********************************************************************
     * 客户管理
     */

    //人才管理
    public static $khrcgl = [

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'create_date','attribute'=>1,'name'=>'创建时间','type'=>'date'],
        ['alias_field_id'=>'allocation_date','attribute'=>1,'name'=>'分配时间','type'=>'date'],
//        ['alias_field_id'=>'become_due','attribute'=>1,'name'=>'他人合作到期时间','type'=>'date'],
        ['alias_field_id'=>'username','attribute'=>1,'name'=>'负责人','type'=>'text'],

//        ['alias_field_id'=>'certificate_period_of_validity','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
//        ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'B证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
//        ['alias_field_id'=>'certificate_b_period_of_validity','attribute'=>1,'name'=>'B证到期时间','type'=>'date'],
//        ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
//        ['alias_field_id'=>'other_certificate','attribute'=>1,'name'=>'其他证书','type'=>'no'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数','type'=>'sort'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
    ];
    //企业管理
    public static $khqygl = [

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'no'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'f_uid','attribute'=>1,'name'=>'负责人','type'=>'text'],

//        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],
//        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
//        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],


        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单个数','type'=>'sort'],
//        ['alias_field_id'=>'operate','attribute'=>1,'name'=>'操作','type'=>'text'],
    ];
    //出证单位
    public static $khczdw = [

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'title','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],

        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'主营业务','type'=>'no'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单','type'=>'sort'],
    ];
    //聘用单位
    public static $khpydw = [

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'title','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],

        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'no'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单','type'=>'sort'],
    ];
    //注册单位
    public static $khzcdw = [

        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'title','attribute'=>1,'name'=>'企业名称','type'=>'text'],
        ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
        ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'联系电话','type'=>'text'],

        ['alias_field_id'=>'area','attribute'=>1,'name'=>'所属区域','type'=>'tree','option'=>1,'option_data'=>'system_china','where'=>''],
        ['alias_field_id'=>'address','attribute'=>1,'name'=>'详细地址','type'=>'no'],
        ['alias_field_id'=>'establish_date','attribute'=>1,'name'=>'成立时间','type'=>'date'],
        ['alias_field_id'=>'qualifications_type','attribute'=>1,'name'=>'资质类别','type'=>'no'],
        ['alias_field_id'=>'secure_expire_date','attribute'=>1,'name'=>'安全到期时间','type'=>'date'],
        ['alias_field_id'=>'register_price','attribute'=>1,'name'=>'注册资金','type'=>'no'],
        ['alias_field_id'=>'order_goods_number','attribute'=>1,'name'=>'订单','type'=>'sort'],
    ];

    /***************************************************************
     * 财务管理
     */

    //业绩总表
    public static $yjzb = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'订单编号','type'=>'text'],
        ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
        ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>''],
        ['alias_field_id'=>'order_status','attribute'=>1,'name'=>'订单类型','type'=>'select','option'=>0,'option_data'=>'_deal_status'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'certificate_leixing','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_leibie','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_dengji','attribute'=>1,'name'=>'等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],//关联表
        ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
        ['alias_field_id'=>'get_org','attribute'=>1,'name'=>'收证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人员','type'=>'text'],
        ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'tree','option'=>1,'option_data'=>'user_organization','where'=>''],
        ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人员','type'=>'text'],
        ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'收证价','type'=>'between'],
        ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'出证价','type'=>'between'],

        ['alias_field_id'=>'performance','attribute'=>1,'name'=>'业绩','type'=>'between'],
        ['alias_field_id'=>'get_price_date','attribute'=>1,'name'=>'收款时间','type'=>'date'],
        ['alias_field_id'=>'get_price_all','attribute'=>1,'name'=>'已收款','type'=>'between'],
        ['alias_field_id'=>'out_price_date','attribute'=>1,'name'=>'付款时间','type'=>'date'],
        ['alias_field_id'=>'out_price_all','attribute'=>1,'name'=>'已付款','type'=>'between'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'订单状态','type'=>'no'],
        ['alias_field_id'=>'td_date','attribute'=>1,'name'=>'退单时间','type'=>'date'],
        ['alias_field_id'=>'td_performance','attribute'=>1,'name'=>'退单业绩','type'=>'no'],
//        ['alias_field_id'=>'reason','attribute'=>1,'name'=>'退单原因','type'=>'no'],
        ['alias_field_id'=>'sfk_status','attribute'=>1,'name'=>'收/付款状态','type'=>'select','option'=>0,'option_data'=>'_sfk_status'],
        ['alias_field_id'=>'sfk_wc_date','attribute'=>1,'name'=>'完成时间','type'=>'date'],



//        ['alias_field_id'=>'ckjl','attribute'=>1,'name'=>'催款记录','type'=>'no'],
    ];

    //收款单列表
    public static $skdgl = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'receivable','attribute'=>1,'name'=>'应收金额','type'=>'between'],
        ['alias_field_id'=>'yishou','attribute'=>1,'name'=>'之前收款','type'=>'between'],
        ['alias_field_id'=>'price','attribute'=>1,'name'=>'本次收款金额','type'=>'between'],
        ['alias_field_id'=>'type','attribute'=>1,'name'=>'收款类型','type'=>'select','option'=>0,'option_data'=>'_transaction_status'],
        ['alias_field_id'=>'transaction_uid','attribute'=>1,'name'=>'提交人','type'=>'text'],
        ['alias_field_id'=>'transaction_date','attribute'=>1,'name'=>'到账时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'收款事由','type'=>'text'],
        ['alias_field_id'=>'submit_date','attribute'=>1,'name'=>'提交时间','type'=>'date'],
        ['alias_field_id'=>'refuse_text','attribute'=>1,'name'=>'审批意见','type'=>'no'],
//        ['alias_field_id'=>'transaction_code','attribute'=>1,'name'=>'收款单号','type'=>'text'],
        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'关联订单号','type'=>'text'],

//        ['alias_field_id'=>'out_unit','attribute'=>1,'name'=>'供证单位','type'=>'text'],
//        ['alias_field_id'=>'employ_unit','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
//        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],

        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态','type'=>'select','option'=>0,'option_data'=>'_js_status'],
        ['alias_field_id'=>'annex','attribute'=>1,'name'=>'收款凭证','type'=>'no'],
//        ['alias_field_id'=>'settlement_method','attribute'=>1,'name'=>'结算方式','type'=>'select','option'=>0,'option_data'=>'_jsfs'],
    ];

    //付款单列表
    public static $fkdgl = [
        ['alias_field_id'=>'id','attribute'=>1,'name'=>'序号','type'=>'no'],
        ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
        ['alias_field_id'=>'yingfu','attribute'=>1,'name'=>'应付金额','type'=>'between'],
        ['alias_field_id'=>'yifu','attribute'=>1,'name'=>'之前付款','type'=>'between'],
        ['alias_field_id'=>'price','attribute'=>1,'name'=>'本次付款金额','type'=>'between'],
        ['alias_field_id'=>'type','attribute'=>1,'name'=>'付款类型','type'=>'select','option'=>0,'option_data'=>'_transaction_status'],
        ['alias_field_id'=>'settlement_method','attribute'=>1,'name'=>'结算方式','type'=>'select','option'=>0,'option_data'=>'_jsfs'],
        ['alias_field_id'=>'transaction_uid','attribute'=>1,'name'=>'提交人','type'=>'text'],
        ['alias_field_id'=>'transaction_date','attribute'=>1,'name'=>'付款时间','type'=>'date'],
        ['alias_field_id'=>'notes','attribute'=>1,'name'=>'付款事由','type'=>'text'],
        ['alias_field_id'=>'refuse_text','attribute'=>1,'name'=>'审批意见','type'=>'no'],
//        ['alias_field_id'=>'transaction_code','attribute'=>1,'name'=>'付款单号','type'=>'text'],
        ['alias_field_id'=>'certificate_code','attribute'=>1,'name'=>'关联订单号','type'=>'text'],

//        ['alias_field_id'=>'out_unit','attribute'=>1,'name'=>'供证单位','type'=>'text'],
//        ['alias_field_id'=>'employ_unit','attribute'=>1,'name'=>'聘用单位','type'=>'text'],
//        ['alias_field_id'=>'reg_unit','attribute'=>1,'name'=>'注册单位','type'=>'text'],
        ['alias_field_id'=>'status','attribute'=>1,'name'=>'状态','type'=>'select','option'=>0,'option_data'=>'_js_status'],
        ['alias_field_id'=>'annex','attribute'=>1,'name'=>'付款凭证','type'=>'no'],


    ];










































    /****************************************************************前段字段***************************************************/
    //人才库 新建人才
    public static $rck_from = [
        //基本信息系统字段
        /**
         * alias_field_id 字段
         * attribute 1系统字段 2自定义字段
         * name 字段名称
         * type input属性
         * require 1必填 默认0
         * option 1数据库值  0 本地值
         * option_data  需要查询的库及变量
         * where  查询条件
         */
        'basic'=>[
            ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text','require'=>1],
            ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'number','require'=>1],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],
//            ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],
            ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
            ['alias_field_id'=>'certificate_period_of_validity','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
            ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'b证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
            ['alias_field_id'=>'certificate_b_period_of_validity','attribute'=>1,'name'=>'b证到期时间','type'=>'date'],
            ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
            ['alias_field_id'=>'certificate_log_off','attribute'=>1,'name'=>'证书注销时间','type'=>'date'],
            ['alias_field_id'=>'is_wx','attribute'=>1,'name'=>'是否添加企业微信','type'=>'select','option'=>0,'option_data'=>'_is_wx'],
            ['alias_field_id'=>'become_due','attribute'=>1,'name'=>'他人合作到期时间','type'=>'date'],
            ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
        ],

        //自定义字段
        'custom'=>[],

        //联系电话
        'mobile'=>[
            ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'电话号码','type'=>'number'],
            ['alias_field_id'=>'status','attribute'=>1,'name'=>'电话状态','type'=>'select','option'=>0,'option_data'=>'_person_mobile_status'],
        ],

        //其他证书
        'certificate'=>[
            ['alias_field_id'=>'certificate_type','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2  and is_k=0'],
            ['alias_field_id'=>'certificate_speciality','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4  and is_k=0'],
            ['alias_field_id'=>'certificate_period_of_validity','attribute'=>1,'name'=>'证书到期时间','type'=>'date'],
            ['alias_field_id'=>'register','attribute'=>1,'name'=>'注册状态','type'=>'select','option'=>0,'option_data'=>'_zc_status'],
        ],

        //沟通记录
        'communicate'=>[
            ['alias_field_id'=>'intention','attribute'=>1,'name'=>'意向结果','type'=>'select','option'=>0,'option_data'=>'_intention'],
            ['alias_field_id'=>'call','attribute'=>1,'name'=>'呼叫结果','type'=>'select','option'=>0,'option_data'=>'_call'],
            ['alias_field_id'=>'communicate_content','attribute'=>1,'name'=>'沟通内容','type'=>'text'],
            ['alias_field_id'=>'communicate_date','attribute'=>1,'name'=>'沟通时间','type'=>'date'],
            ['alias_field_id'=>'communicate_uid','attribute'=>1,'name'=>'沟通人员','type'=>'select','option'=>1,'option_data'=>'user','where'=>'type > 2'],
        ],
    ];

    //证书注册
    public static $zszc_from = [
        /**
         * alias_field_id 字段
         * attribute 1系统字段 2自定义字段
         * name 字段名称
         * type input属性
         * require 1必填 默认0
         * option 1数据库值  0 本地值 2链表查询“，”分割
         * option_data  需要查询的库及变量
         * where  查询条件
         */
        'basic'=>[
            ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>'is_k=0 and business_type=1'],

//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],
//            ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],

            ['alias_field_id'=>'social_security','attribute'=>1,'name'=>'社保','type'=>'select','option'=>0,'option_data'=>'_social_security'],
            ['alias_field_id'=>'social_security_acc_status','attribute'=>1,'name'=>'社保账户状态','type'=>'select','option'=>0,'option_data'=>'_social_security_acc_status'],
            ['alias_field_id'=>'certificate_b','attribute'=>1,'name'=>'b证','type'=>'select','option'=>0,'option_data'=>'_b_doc'],
            ['alias_field_id'=>'b_doc_status','attribute'=>1,'name'=>'b证是否调入','type'=>'select','option'=>0,'option_data'=>'_b_doc_status'],
            ['alias_field_id'=>'project','attribute'=>1,'name'=>'项目','type'=>'select','option'=>0,'option_data'=>'_project'],
            ['alias_field_id'=>'cycle','attribute'=>1,'name'=>'周期','type'=>'select','option'=>0,'option_data'=>'_cycle'],
            ['alias_field_id'=>'transfer','attribute'=>1,'name'=>'是否中转','type'=>'select','option'=>0,'option_data'=>'_transfer'],
            ['alias_field_id'=>'acquisition_date','attribute'=>1,'name'=>'收证时间','type'=>'date'],
            ['alias_field_id'=>'contract_price','attribute'=>1,'name'=>'合同价格','type'=>'between'],
            ['alias_field_id'=>'catual_price','attribute'=>1,'name'=>'实际价格','type'=>'between'],
            ['alias_field_id'=>'person_account','attribute'=>1,'name'=>'人才账号','type'=>'text'],
            ['alias_field_id'=>'person_password','attribute'=>1,'name'=>'人才密码','type'=>'text'],
            ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
            ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text','require'=>1],

            ['alias_field_id'=>'mobile','attribute'=>1,'name'=>'手机号码','type'=>'number'],
            ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
            ['alias_field_id'=>'file_illustrate','attribute'=>1,'name'=>'资料信息','type'=>'text'],
            ['alias_field_id'=>'information_file','attribute'=>1,'name'=>'资料文件','type'=>'file'],
            ['alias_field_id'=>'contract_file','attribute'=>1,'name'=>'合同文件','type'=>'file'],
            ['alias_field_id'=>'responsibility_id','attribute'=>1,'name'=>'审核人','type'=>'select','option'=>1,'option_data'=>'user','where'=>'is_k=0 and id IN ()','param'=>''],
        ],
        //自定义字段
        'custom'=>[],

        //附加业务
        'ancillary'=>[
            ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>'is_k=0 and business_type=2'],
            ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
            ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
            ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],

//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],
//            ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],

            ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
            ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],
            ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'notes'],
            ['alias_field_id'=>'file_illustrate','attribute'=>1,'name'=>'资料信息','type'=>'text'],
            ['alias_field_id'=>'information_file','attribute'=>1,'name'=>'资料文件','type'=>'file'],
            ['alias_field_id'=>'contract_file','attribute'=>1,'name'=>'合同文件','type'=>'file'],
            ['alias_field_id'=>'responsibility_uid','attribute'=>1,'name'=>'负责人','type'=>'tree','option'=>1,'option_data'=>'user','where'=>''],
        ]
    ];



    //证书办理
    public static $zsbl_from = [
        'basic'=>[
            ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>'is_k=0 and business_type=2'],
            ['alias_field_id'=>'person_name','attribute'=>1,'name'=>'人才姓名','type'=>'text'],
            ['alias_field_id'=>'person_id_card','attribute'=>1,'name'=>'身份证号','type'=>'text'],
            ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],

//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类型','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=1 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书类别','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=2 and is_k=0'],
//            ['alias_field_id'=>'certificate','attribute'=>1,'name'=>'证书等级','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=3 and is_k=0'],
//            ['alias_field_id'=>'certificate_zhuanye','attribute'=>1,'name'=>'证书专业','type'=>'select','option'=>1,'option_data'=>'system_certificate','where'=>'certificate_type=4 and is_k=0'],

            ['alias_field_id'=>'cost_price','attribute'=>1,'name'=>'成本价格','type'=>'between'],
            ['alias_field_id'=>'sale_price','attribute'=>1,'name'=>'销售价格','type'=>'between'],
            ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'notes'],
            ['alias_field_id'=>'file_illustrate','attribute'=>1,'name'=>'资料信息','type'=>'text'],
            ['alias_field_id'=>'information_file','attribute'=>1,'name'=>'资料文件','type'=>'file'],
            ['alias_field_id'=>'contract_file','attribute'=>1,'name'=>'合同文件','type'=>'file'],
            ['alias_field_id'=>'responsibility_uid','attribute'=>1,'name'=>'负责人','type'=>'tree','option'=>1,'option_data'=>'user','where'=>''],
        ],
        //自定义字段
        'custom'=>[],
    ];

    //企业证书
    public static $qyzs_from = [
        'basic'=>[
            ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类型','type'=>'tree','option'=>1,'option_data'=>'system_business','where'=>'is_k=0'],
            ['alias_field_id'=>'business_id','attribute'=>1,'name'=>'业务类别','type'=>'select','option'=>1,'option_data'=>'system_businesss','where'=>'is_k=0'],
            ['alias_field_id'=>'business_text','attribute'=>1,'name'=>'业务内容','type'=>'text'],
            ['alias_field_id'=>'sale_date','attribute'=>1,'name'=>'销售日期','type'=>'date'],
            ['alias_field_id'=>'get_organization_id','attribute'=>1,'name'=>'收证部门','type'=>'select','option'=>1,'option_data'=>'user_organization','where'=>'type=3'],
            ['alias_field_id'=>'get_uid','attribute'=>1,'name'=>'收证人','type'=>'select','option'=>1,'option_data'=>'user','where'=>'type=0'],
            ['alias_field_id'=>'out_org','attribute'=>1,'name'=>'出证部门','type'=>'select','option'=>1,'option_data'=>'user_organization','where'=>'type=3'],
            ['alias_field_id'=>'out_uid','attribute'=>1,'name'=>'出证人','type'=>'select','option'=>1,'option_data'=>'user','where'=>'type=0'],
            ['alias_field_id'=>'enterprise_name','attribute'=>1,'name'=>'企业名称','type'=>'select','option'=>1,'option_data'=>'user','where'=>'type=0'],
            ['alias_field_id'=>'contacts','attribute'=>1,'name'=>'联系人','type'=>'text'],
            ['alias_field_id'=>'notes','attribute'=>1,'name'=>'备注','type'=>'text'],
            ['alias_field_id'=>'file_illustrate','attribute'=>1,'name'=>'资料信息','type'=>'text'],
            ['alias_field_id'=>'information_file','attribute'=>1,'name'=>'资料文件','type'=>'file'],
            ['alias_field_id'=>'contract_file','attribute'=>1,'name'=>'合同文件','type'=>'file'],
            ['alias_field_id'=>'responsibility_uid','attribute'=>1,'name'=>'请选择对接人员：','type'=>'select','option'=>1,'option_data'=>'user','where'=>'type=0'],
        ],
        //自定义字段
        'custom'=>[],
    ];
}